{% extends "base.html" %}
{% block title %} {{entry.title}} - {{blog.title}} {% endblock %}
{% block content%}
<div id="singlePageColumns">
  <div id="siglePageCentercol">
{% if entry %}
    <div class="box post" id="post-{{entry.key}}">
      <div class="content">

        <!--/post-img -->
        <div class="post-title">
          <h2><a href="/{{ entry.link }}" rel="bookmark" title="Permanent Link to {{entry.title}}">{{entry.title}}</a></h2>
        </div>
        <!--/post-title -->
                <div class="post-excerpt">
{%mf entry_content %}
{{ entry.content }}
{%endmf%}
{%mf after_entry_content%}  
{%endmf%}      </div>
        <!--/post-excerpt -->
        <div class="clr"></div>
      </div>
      <!--/content -->
      <div class="clr"></div>
    </div>
    <!--/box -->
    <div class="clr"></div>
    
              
        <div id='snsShare' class="box">
			<a style="float:left;margin-right:10px;"  href="javascript:void(0)" onClick="postToTencentWb();"><img style="border:0;"
				src="http://v.t.qq.com/share/images/s/b32.png" align="top" /></a>
			
			<script type="text/javascript" charset="utf-8">
			writeSinaWeiboButton();
			</script>
	            
			<a style="float:left; margin-right:10px;" name="xn_share" type="button_large" href="#">分享到人人网</a>
			<script src="http://static.connect.renren.com/js/share.js" type="text/javascript"></script>
		</div>
	      <div class="clr"></div>
        
  {%if relateposts%} 
   <div class="box post-rel">
      <div class="content border">
        <div class="subcols">
		
		        <h2>相关文章</h2>
                  <ul>
                {%for post in relateposts%}
                  <li><a href="/{{post.link}}">{{post.title}}</a></li>
                {%endfor%}
                </ul>

          <!--/col1 -->
                  </div>
        <div class="clr"></div>
        <!--/subcols -->
      </div>
      <!--/content -->
    </div>
    <!--/box -->
                {%endif%}
{% include "comments.html" %}    
{%endif%}

  </div>
  <!--/centercol -->
  <div class="clr"></div>
</div>
<!--/columns -->
{% endblock %}